import { getIps } from "albert.gao/node";
import { Router } from "express";

const router = Router();

/** 返回所有ip地址 */
router.use("/api/get-ips", (_req, res) => {
  res.json(getIps());
});

export default (async () => router)();
